$(document).ready(function(){
    var width = 750;
    var height = 550;
    window.parent.$('#site').dialog( "option", "width", 'auto' );
    window.parent.$('#site').dialog( "option", "height", 'auto');
    window.parent.$('#site').height( height );
    window.parent.$('#site').width( width );
    window.parent.$('#site').dialog( "option", "position", 'center' );
    
    $('#bbreservalibro_idLibro_chzn').parent().append('<a id="question" data-content="Nro Inventario / Reservas vigentes / Fecha estimativa de devolucion" rel="popover" href="#" data-original-title="Referencias"><i class="icon-question-sign"><i></a>');
    $('#question').popover();
});